package org.millioncall.yueyoga.admin.dao;

import java.util.List;
import java.util.Map;

import org.millioncall.openplatform.common.PaginatedList;
import org.millioncall.yueyoga.admin.model.GoodType;

public interface GoodTypeDAO {

	public int save(GoodType goodType);

	public int update(GoodType goodType);

	public int deleteById(Integer id);

	public int deleteByIds(String[] strIds);

	public GoodType findGoodTypeById(Integer id);

	public PaginatedList<GoodType> findGoodTypeInPage(Map<String, Object> map,int start, int limit);

	public List<GoodType> findAll();

}